package com.originit.product.server.enums

enum class ResultEnum (var code:Int,
                       var message:String){

    SUCCESS(1,"请求成功"),
    PARAM_ERROR(10000,"参数异常"),
    JSON_FORMAT_ERROR(10001,"json格式异常"),
    GOOD_STOCK_NOT_ENOUGH(20001,"商品库存不足"),
    PRODUCT_NOT_EXIST(20002,"商品不存在");

}
